package com.system.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.system.user.entity.UserEntity;
import com.system.user.entityVO.WatchVO;

import java.util.List;

/**
 * @author HYXK
 * @email null@qq.com
 * @date 2020-03-27 11:55:11
 */
public interface UserService {

    List<UserEntity> findAll();

    List<String> findOpenidByBNumber(String bNumber);

    boolean adminRegister(String username, String password);

    UserEntity adminLogin(String username, String password);

    UserEntity weiXinLogin(String openid);

    List<WatchVO> queryAllWatch(Integer uid);

    List<WatchVO> findOtherWatch(WatchVO watchVO);

    boolean updateUser(UserEntity userEntity);

    boolean deleteUser(Integer id);

}

